import 'package:get/get_navigation/get_navigation.dart';
import 'package:ui/view/add_archives/view.dart';
import 'package:ui/view/home/view.dart';
import 'package:ui/view/update_prices/view.dart';

class Routes {
  static const home = '/home'; // 首页
  static const login = '/login'; // 登陆
  static const updatePrices = '/updatePrices';
  static const addArchives = '/addArchives'; // 添加 档案
}

class AppPage {
  static final routers = [
    GetPage(name: Routes.home, page: () => HomePage()),
    GetPage(name: Routes.updatePrices, page: () => const UpdatePricesPage()),
    GetPage(name: Routes.addArchives, page: () => const AddArchivesPage()),
  ];
}
